/**
 * @name        utils.ts
 * @author      shenyc
 * @date        2020-05-06 - ?
 * @copyright   Copy right (c) shenyc (shenyczz@163.com).
 *              All rights reserved.
 *
 ******************************************************************************/
// {{@@@}}
"use strict"
// ----------------------------------------------------------------------------
import * as sfxUtils from "sfx-utils"
import { package_json } from "./package-json"
// ----------------------------------------------------------------------------
namespace utils {
    /**
     * package json 数据
     */
    export const pkg = package_json
    /**
     * 给字符串加上前缀
     *
     * @param str
     * @returns
     */
    export function getPreFixString(str: string) {
        const sfxPrefix = pkg.name
        const result = sfxUtils.strings.getPrefixString(str, sfxPrefix)
        return result
    }
}
export default utils
// ----------------------------------------------------------------------------
// {{@@@}}
